package com.hxd.mall.module.usercenter.bean;

import com.hxd.mall.module.product.home.bean.Resource;
import com.hxd.mall.network.base.BaseBean;
import com.hxd.mall.network.base.BaseSerializable;

import java.util.ArrayList;
import java.util.List;

/**
 * 我的界面，bandner bean
 */
public class MineOtherBean extends BaseBean {


    /**
     * code : 0
     * msg : 执行成功
     * data : {"bannerLayout":{"no":null,"seq":null,"title":null,"enabled":null,"resources":[{"no":"RB679355966583832576","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679355963752677376.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679356420743069696","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356358604455936.png","entryUri":"","ext":{"effectiveResourceNo":"RB679365759675301888","isEffective":true},"type":"BANNER","online":true},{"no":"RB679356473247367168","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356466788139008.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679357651041484800","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679357626441891840.png","entryUri":"","type":"BANNER","online":true}]},"pictureLayout":{"no":null,"seq":null,"title":null,"enabled":null,"resources":[{"no":"RB679355966583832576","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679355963752677376.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679356420743069696","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356358604455936.png","entryUri":"","ext":{"effectiveResourceNo":"RB679365759675301888","isEffective":true},"type":"BANNER","online":true},{"no":"RB679356473247367168","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356466788139008.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679357651041484800","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679357626441891840.png","entryUri":"","type":"BANNER","online":true}]}}
     */

    private DataBean data;


    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean extends BaseSerializable {
        /**
         * bannerLayout : {"no":null,"seq":null,"title":null,"enabled":null,"resources":[{"no":"RB679355966583832576","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679355963752677376.png","entryUri":"","type":"BANNER","online":true,"ext":{"effectiveResourceNo":"RB679365759675301888","isEffective":true}},{"no":"RB679356420743069696","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356358604455936.png","entryUri":"","ext":{"effectiveResourceNo":"RB679365759675301888","isEffective":true},"type":"BANNER","online":true},{"no":"RB679356473247367168","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356466788139008.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679357651041484800","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679357626441891840.png","entryUri":"","type":"BANNER","online":true}]}
         * pictureLayout : {"no":null,"seq":null,"title":null,"enabled":null,"resources":[{"no":"RB679355966583832576","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679355963752677376.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679356420743069696","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356358604455936.png","entryUri":"","ext":{"effectiveResourceNo":"RB679365759675301888","isEffective":true},"type":"BANNER","online":true},{"no":"RB679356473247367168","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356466788139008.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679357651041484800","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679357626441891840.png","entryUri":"","type":"BANNER","online":true}]}
         */

        private BannerLayoutBean bannerLayout;
        private PictureLayoutBean pictureLayout;

        public BannerLayoutBean getBannerLayout() {
            return bannerLayout;
        }

        public void setBannerLayout(BannerLayoutBean bannerLayout) {
            this.bannerLayout = bannerLayout;
        }

        public PictureLayoutBean getPictureLayout() {
            return pictureLayout;
        }

        public void setPictureLayout(PictureLayoutBean pictureLayout) {
            this.pictureLayout = pictureLayout;
        }

        public static class BannerLayoutBean extends BaseSerializable {
            /**
             * no : null
             * seq : null
             * title : null
             * enabled : null
             * resources : [{"no":"RB679355966583832576","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679355963752677376.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679356420743069696","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356358604455936.png","entryUri":"","ext":{"effectiveResourceNo":"RB679365759675301888","isEffective":true},"type":"BANNER","online":true},{"no":"RB679356473247367168","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356466788139008.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679357651041484800","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679357626441891840.png","entryUri":"","type":"BANNER","online":true}]
             */

            private Object no;
            private Object seq;
            private Object title;
            private Object enabled;
            private List<Resource> resources;

            public Object getNo() {
                return no;
            }

            public void setNo(Object no) {
                this.no = no;
            }

            public Object getSeq() {
                return seq;
            }

            public void setSeq(Object seq) {
                this.seq = seq;
            }

            public Object getTitle() {
                return title;
            }

            public void setTitle(Object title) {
                this.title = title;
            }

            public Object getEnabled() {
                return enabled;
            }

            public void setEnabled(Object enabled) {
                this.enabled = enabled;
            }

            public List<Resource> getResources() {
                return resources;
            }

            public void setResources(List<Resource> resources) {
                this.resources = resources;
            }
        }

        public static class PictureLayoutBean extends BaseSerializable {
            /**
             * no : null
             * seq : null
             * title : null
             * enabled : null
             * resources : [{"no":"RB679355966583832576","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679355963752677376.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679356420743069696","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356358604455936.png","entryUri":"","ext":{"effectiveResourceNo":"RB679365759675301888","isEffective":true},"type":"BANNER","online":true},{"no":"RB679356473247367168","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679356466788139008.png","entryUri":"","type":"BANNER","online":true},{"no":"RB679357651041484800","seq":1,"title":"图片大小5","pictUri":"http://mall-resource-test.hxvc.com/20191118/679357626441891840.png","entryUri":"","type":"BANNER","online":true}]
             */

            private Object no;
            private Object seq;
            private Object title;
            private Object enabled;
            private ArrayList<ResourcesBeanX> resources;

            public Object getNo() {
                return no;
            }

            public void setNo(Object no) {
                this.no = no;
            }

            public Object getSeq() {
                return seq;
            }

            public void setSeq(Object seq) {
                this.seq = seq;
            }

            public Object getTitle() {
                return title;
            }

            public void setTitle(Object title) {
                this.title = title;
            }

            public Object getEnabled() {
                return enabled;
            }

            public void setEnabled(Object enabled) {
                this.enabled = enabled;
            }

            public List<ResourcesBeanX> getResources() {
                return resources;
            }

            public void setResources(ArrayList<ResourcesBeanX> resources) {
                this.resources = resources;
            }

            public static class ResourcesBeanX extends BaseSerializable {
                /**
                 * no : RB679355966583832576
                 * seq : 1
                 * title : 图片大小5
                 * pictUri : http://mall-resource-test.hxvc.com/20191118/679355963752677376.png
                 * entryUri :
                 * type : BANNER
                 * online : true
                 * ext : {"effectiveResourceNo":"RB679365759675301888","isEffective":true}
                 */

                private String no;
                private int seq;
                private String title;
                private String pictUri;
                private String entryUri;
                private String type;
                private boolean online;
                private ExtBeanX ext;

                public String getNo() {
                    return no;
                }

                public void setNo(String no) {
                    this.no = no;
                }

                public int getSeq() {
                    return seq;
                }

                public void setSeq(int seq) {
                    this.seq = seq;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getPictUri() {
                    return pictUri;
                }

                public void setPictUri(String pictUri) {
                    this.pictUri = pictUri;
                }

                public String getEntryUri() {
                    return entryUri;
                }

                public void setEntryUri(String entryUri) {
                    this.entryUri = entryUri;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public boolean isOnline() {
                    return online;
                }

                public void setOnline(boolean online) {
                    this.online = online;
                }

                public ExtBeanX getExt() {
                    return ext;
                }

                public void setExt(ExtBeanX ext) {
                    this.ext = ext;
                }

                public static class ExtBeanX extends BaseSerializable {
                    /**
                     * effectiveResourceNo : RB679365759675301888
                     * isEffective : true
                     */

                    private String effectiveResourceNo;
                    private boolean isEffective;

                    public String getEffectiveResourceNo() {
                        return effectiveResourceNo;
                    }

                    public void setEffectiveResourceNo(String effectiveResourceNo) {
                        this.effectiveResourceNo = effectiveResourceNo;
                    }

                    public boolean isIsEffective() {
                        return isEffective;
                    }

                    public void setIsEffective(boolean isEffective) {
                        this.isEffective = isEffective;
                    }
                }
            }
        }
    }
}
